package com.tarena.csmall.front.web;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * springboot启动类
 */
@SpringBootApplication
@MapperScan("com.tarena.csmall.front.web.mapper")
//扫描加载当前系统中@DubboService @DubboRefrence注解
@EnableDubbo
public class FrontApplication {
    /**
     * @param args 启动参数 是java命令运行时提供给java虚拟机的
     *            java -jar xxx.jar -Xms128m -Xmx128m --server.port=8989
     */
    public static void main(String[] args) {
        SpringApplication.run(FrontApplication.class,args);
    }
}
